package com.xuexiang.xuidemo.slice.status.adapter;

import com.xuexiang.xui_lib.component.status.StatusLoader;
import ohos.agp.components.Component;

public class DefaultStatusAdapter implements StatusLoader.Adapter {
    @Override
    public Component getView(StatusLoader.Holder holder, Component convertView, int status) {
        return new DefaultStatusView(holder.getContext(), status, holder.getRetryListener());
    }
}
